package lib.validation;

public class Message {
	private String message = "";
	private boolean isValid = true;
	public Message(String msg, boolean valid) {
		this.message = msg;
		isValid = valid;
	}
	public void setValid(boolean isValid) {
		this.isValid = isValid;
	}
	public boolean isValid() {
		return isValid;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage() {
		return message;
	}
}
